package vn.personal.anhht.bloback12.bean;

public class SMSLogObject {
	private String id="";
	private String name="";
	private String phone="";
	private String message="";
	private String time="";
	private boolean ischecked = false;
	
	public SMSLogObject(){
		
	}
	
	public SMSLogObject(String _id, String _name, String _phone, String _time, boolean _isChecked){
		this.id = _id;
		this.name = _name;
		this.phone = _phone;
		this.time = _time;
		this.ischecked = _isChecked;
	}
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public boolean isIschecked() {
		return ischecked;
	}

	public void setIschecked(boolean ischecked) {
		this.ischecked = ischecked;
	}

	public String getName() {
		return(name);
	}
	
	public void setName(String name) {
		this.name=name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getTime() {
		
		return vn.personal.anhht.bloback12.util.UtilMethods.changeMilisecondToDate(Long.parseLong(time));
	}

	public void setTime(String time) {
		this.time = time;
	}
	
	public String toString() {
		return(getName());
	}
	
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
}
